
<script setup>
import {useRoute} from "vue-router";
import {ElMessage} from "element-plus";


const route=useRoute()
const emit=defineEmits(['generate'])
function generate(){
  emit('generate',true)
}


</script>

<template>
  <div>
    <el-button type="text" @click="generate">
      生成分享链接
    </el-button>
    <div v-html="route.query.remark">
    </div>
  </div>
</template>

<style scoped>

</style>